package redpacket.model;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class RedPacket {
    private Long id;
    private Long senderId;
    private BigDecimal totalAmount;
    private Integer totalCount;
    private Integer remainCount;
    private Integer type; // 1=avg, 2=random
    private Integer status; // 1=active, 2=finished, 3=expired
    private LocalDateTime expireTime;
    private LocalDateTime createTime;
}
